package CLI;

import domain.DomainController;
import domain.MineField;
import domain.MineFieldFactory;

/**
 *
 * @author "Jeroen"
 */
public class CLIBuilder {

    private MineField field;

    public CLIBuilder(DomainController dc) {
        //MineFieldFactory.getInstance().createMineField();
        dc.createGame();
        char[][] veld = dc.viewField();
        for (int j = 0; j < veld.length; j++) {
            for (int i = 0; i < veld[j].length; i++) {
                System.out.print(veld[i][j] + " ");
            }
            System.out.println("");
        }
    }
}
